package com.rongke.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * @Address
 * @
地址(address)
 * @version : Ver 1.0
 */
@TableName("address")
public class Address implements Serializable {
	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/**
	 * @备注:地址id
	 * @字段:id BIGINT(19)
	 */
	@TableId(type = IdType.AUTO)
	private java.lang.Long id;

	/**
	 * @备注:地址类型标识（0表示会员注册地址，1表示收货地址默认，2表示收货地址非默认）
	 * @字段:tag VARCHAR(11)
	 */
	private java.lang.String tag;
	/**
	 * @备注:姓名（收货地址中是收货人姓名，会员注册地址中为null）
	 * @字段:tag VARCHAR(11)
	 */
	private java.lang.String name;
	/**
	 * @备注:电话（收货地址中是收货人联系电话，会员注册地址中为null）
	 * @字段:tag VARCHAR(11)
	 */
	private java.lang.String phone;

	/**
	 * @备注:省
	 * @字段:province VARCHAR(11)
	 */
	private java.lang.String province;

	/**
	 * @备注:市
	 * @字段:city VARCHAR(11)
	 */
	private java.lang.String city;

	/**
	 * @备注:区
	 * @字段:area VARCHAR(11)
	 */
	private java.lang.String area;

	/**
	 * @备注:详细地址
	 * @字段:address_detail TEXT(65535)
	 */
	private java.lang.String addressDetail;


	private java.lang.Long muserId;

   @TableField(exist = false)
	private Muser muser;
	/**
	 * @备注:区域编码
	 * @字段:area_code VARCHAR(11)
	 */
	private java.lang.String areaCode;

	public Address(){
	}

	public Address(
		java.lang.Long id
	){
		this.id = id;
	}


	public Long getMuserId() {
		return muserId;
	}

	public void setMuserId(Long muserId) {
		this.muserId = muserId;
	}

	public void setId(java.lang.Long id) {
		this.id = id;
	}

	public java.lang.Long getId() {
		return this.id;
	}

	public Muser getMuser() {
		return muser;
	}

	public void setMuser(Muser muser) {
		this.muser = muser;
	}

	public void setProvince(java.lang.String province) {
		this.province = province;
	}

	public java.lang.String getProvince() {
		return this.province;
	}


	public void setCity(java.lang.String city) {
		this.city = city;
	}

	public java.lang.String getCity() {
		return this.city;
	}


	public void setArea(java.lang.String area) {
		this.area = area;
	}

	public java.lang.String getArea() {
		return this.area;
	}


	public void setAddressDetail(java.lang.String addressDetail) {
		this.addressDetail = addressDetail;
	}

	public java.lang.String getAddressDetail() {
		return this.addressDetail;
	}

	public String getTag() {
		return tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

	public void setAreaCode(java.lang.String areaCode) {
		this.areaCode = areaCode;
	}

	public java.lang.String getAreaCode() {
		return this.areaCode;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
}
